1 using System.Collections;
2 using
System.Collections.Generic;
3 using
UnityEngine;
4 using
UnityEngine.SceneManagement;
5
6 public
class Scenes : MonoBehaviour
7 {
8     
public const string GAME = "GameScreen";
9     
public const string MAIN_MENU = "MainMenu";
10     
public const string LEVEL = "LevelScreen";
11     
public const string MAP = "MapScreen";
12     
public const string SHOP = "ShopScreen";
13
14     
public static void Load(string scene)
15     {
16         SceneManager.LoadScene(scene);
17     }
18 }



Trò chơi đua xe động vật trong UNITY Engine 114.781 lượt xem

Gõ tìm kiếm nhanh...